package com.cosmoplat.xikai.business.domain;

import com.cosmoplat.xikai.common.core.domain.BaseEntity;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @TableName device_info
 */
@Data
public class DeviceInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", required = true, example = "1")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 编码
     */
    @ApiModelProperty(value = "设备编码", required = true, example = "PRD-0001")
    private String deviceCode;

    /**
     * 名称
     */
    @ApiModelProperty(value = "设备名称", required = true, example = "Example Product Name")
    private String deviceName;

    /**
     * 描述
     */
    @ApiModelProperty(value = "设备描述", required = false, example = "这是设备的详细描述")
    private String description;

    /**
     * 逻辑删除标志，默认未删除
     */
    @ApiModelProperty(value = "逻辑删除标志: true表示已删除, false表示未删除", required = false, example = "false")
    private Boolean isDelete;
}